<include file="Public:_header" />
    <script language="javascript">
        function add() {
            $("#content").append($("#template").html());
        }

        function submit() {
            if($.trim($("#introduce").val()).length==0||$.trim($("#introduce").val()).length>300)
            {
                $("#introduce").addClass("red");
                return false;
            }else{
              $("form").submit();
            }
            
        }
        $(document).ready(function () {
                    $("#introduce").focus(function(){
                        $(this).removeClass("red");
                    });
                    $("#introduce").blur(function(){
                        if($.trim($(this).val()).length==0||$.trim($(this).val()).length>300)
                        {
                            $(this).addClass("red");
                        }
                    });
         }
        );
    </script>
</head>

<body>

<form action="__URL__/add_myinfo" method="post" >
<div class="warp">
  <h2 class="ztitle">自我介绍</h2>
  <ul class="zllist gzlist">
    <li><textarea class="text" name="introduce"  id="introduce">{$info}</textarea></li>
  </ul>
  <input type="hidden" name="edit" value="{$Think.get.edit}">
  <a class="submit" href="javascript:submit();" style="width:200px;">保存</a> </div>
</form>
<notempty name="Think.get.edit">
      <a class="submit add" href="__ROOT__/weixin.php?s=/Resume/resume_01/edit/1" style="width:200px;">修改基本信息</a>
      <a class="submit add" href="__ROOT__/weixin.php?s=/Resume/resume_02/edit/1" style="width:200px;">修改求职意向和工作年限</a>
      <a class="submit add" href="__ROOT__/weixin.php?s=/Resume/edit_exper" style="width:200px;">添加或修改工作经历</a>
    </notempty>
<include file="./weixin/Tpl/default/public/_bottom.html" />
